import request from "./http"

// 获取热门搜索
export function getHot(){
    return request({
        url:"/search/hot",
        method:"get"
    })
}

// 获取搜索关键词
export function getSearch(params){
    return request({
        url:"/search",
        method:"get",
        params
    })
}